package com.soulkun.smarthome.ui.main

import androidx.databinding.ViewDataBinding
import com.google.android.material.bottomnavigation.BottomNavigationView
import com.soulkun.smarthome.R
import soulkun.library.mvvm.component.BaseDataBindingFragment
import soulkun.library.utils.visible

abstract class MainNavigationDataBindingFragment<Binding : ViewDataBinding>(private val isNeedBottomView: Boolean = true) :
    BaseDataBindingFragment<Binding>() {

    override fun initView() {
        mActivity.findViewById<BottomNavigationView>(R.id.main_bottom_navigation_view).visible(isNeedBottomView)
    }

}